package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 硬件检定日期更新对象 bus_hardware_check_time_update
 * 
 * @author asher
 * @date 2021-10-24
 */
public class BusHardwareCheckTimeUpdate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 更新记录id */
    private Long recordId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String operator;

    /** 设备更新类型 */
    @Excel(name = "设备更新类型")
    private String updateType;

    /** 目的更新表 */
    @Excel(name = "目的更新表")
    private String destTable;

    /** 目的表id */
    @Excel(name = "目的表id")
    private Long destRecordId;

    /** 更新检定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新检定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 更新检定单位 */
    @Excel(name = "更新检定单位")
    private String checkCompany;

    /** 附件 */
    @Excel(name = "附件")
    private String attachment;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setUpdateType(String updateType) 
    {
        this.updateType = updateType;
    }

    public String getUpdateType() 
    {
        return updateType;
    }
    public void setDestTable(String destTable) 
    {
        this.destTable = destTable;
    }

    public String getDestTable() 
    {
        return destTable;
    }
    public void setDestRecordId(Long destRecordId) 
    {
        this.destRecordId = destRecordId;
    }

    public Long getDestRecordId() 
    {
        return destRecordId;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckCompany(String checkCompany) 
    {
        this.checkCompany = checkCompany;
    }

    public String getCheckCompany() 
    {
        return checkCompany;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("recordId", getRecordId())
            .append("operator", getOperator())
            .append("updateType", getUpdateType())
            .append("destTable", getDestTable())
            .append("destRecordId", getDestRecordId())
            .append("checkTime", getCheckTime())
            .append("checkCompany", getCheckCompany())
            .append("attachment", getAttachment())
            .toString();
    }
}
